<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class entry extends Front_Controller 
{  
	public function index() 
	{ 
		/* 
		$in1 = new stdClass();
		$in1->abc= "a1";
		$in2 = new stdClass();
		$in2->abc= "a2";
		$ins["a"] = $in1;
		$ins["b"] = $in2;
		my_json_encode($ins);
		exit;   
		// $a = "中文哈哈哈";
		// echo mb_strlen($a,"utf8") ; 
		*/ 
		$this->load->view('front/v_entry');    
	}   
	
	public function snoopy()
	{
		$this->load->library('snoopy');
		echo $this->snoopy->r_fetch('http://www.baidu.com');
		//echo $this->snoopy->results;
	}
} 

?> 
